<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2022/12/3
  Time: 11:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Book</title>
</head>
<body>
<form action="/book/onSale" method="post">
    <label>作者姓名</label>
    <input name = "author"><br>
    <label>书本名称</label>
    <input name = "bookname"><br>
    <price>书本价格</price>
    <input name = "price"><br>
    <label>书本类型</label>
    <input name="type">
    <button type="submit">添加</button>
</form>
<table border="1" cellspacing="0">
    <tr>
        <th>序号</th>
        <th>作者姓名</th>
        <th>书本名称</th>
        <th>书本价格</th>
        <th>书本类型</th>
        <th> </th>
    </tr>
    <tr>
        <th>1</th>
        <th>张三</th>
        <th>数据结构</th>
        <th>55</th>
        <th>入门计算机</th>
        <th>修改  删除</th>
    </tr>
    <tr>
        <th>2</th>
        <th>曹雪芹</th>
        <th>红楼梦</th>
        <th>55</th>
        <th>小说</th>
        <th>修改  删除</th>
    </tr>
    <tr>
        <th>3</th>
        <th>施耐庵</th>
        <th>水浒传</th>
        <th>66</th>
        <th>小说</th>
        <th>修改  删除</th>
    </tr>
    <tr>
        <th>4</th>
        <th>吴承恩</th>
        <th>西游记</th>
        <th>77</th>
        <th>小说</th>
        <th>修改  删除</th>
    </tr>
</table>
</body>
</html>
